class Card
{
    Private String number;
	Private int balance;
	Private int bonus;
	void store(int money)
	{
		if(money > 0)
		{
			this.balance += money;
			if(money >= 1000){this.bonus++;}
		}
		else
		{
			System.out.println("error!");
		}
	}
	int getBalance(){
		return balance;
	}
	int getBonus(){
		return bonus;
	}
	String getNumber(){
		return number;
	}
} 
